package com.gxuwz.lhleavesys.entity;

import java.util.Date;
/*
请假申请表
 */
public class Leave {

    private String leaveID;//请假编号
    private String courseID;//课程编号
    private String reason;//请假事由
    private Integer daynum;//天数
    private String stuNo;//学号
    private Date applytime;//请假时间
    private String status;;//状态
    private Date audittime;//审核时间
    private String opinion;//审核意见

    public Leave() {
    }

    public Leave(String leaveID, String courseID, String reason, Integer daynum, String stuNo, Date applytime, String status, Date audittime, String opinion) {
        this.leaveID = leaveID;
        this.courseID = courseID;
        this.reason = reason;
        this.daynum = daynum;
        this.stuNo = stuNo;
        this.applytime = applytime;
        this.status = status;
        this.audittime = audittime;
        this.opinion = opinion;
    }


    public String getLeaveID() {
        return leaveID;
    }

    public void setLeaveID(String leaveID) {
        this.leaveID = leaveID;
    }

    public String getCourseID() {
        return courseID;
    }

    public void setCourseID(String courseID) {
        this.courseID = courseID;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getDaynum() {
        return daynum;
    }

    public void setDaynum(Integer daynum) {
        this.daynum = daynum;
    }



    public Date getApplytime() {
        return applytime;
    }

    public void setApplytime(Date applytime) {
        this.applytime = applytime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getAudittime() {
        return audittime;
    }

    public void setAudittime(Date audittime) {
        this.audittime = audittime;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }


    /**
     * 获取
     * @return stuNo
     */
    public String getStuNo() {
        return stuNo;
    }

    /**
     * 设置
     * @param stuNo
     */
    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public String toString() {
        return "Leave{leaveID = " + leaveID + ", courseID = " + courseID + ", reason = " + reason + ", daynum = " + daynum + ", stuNo = " + stuNo + ", applytime = " + applytime + ", status = " + status + ", audittime = " + audittime + ", opinion = " + opinion + "}";
    }
}
